package com.bulletphysics.gwt.client.util;

public class ThreadLocal<T> {

	T value;
	
	public ThreadLocal() {
		this.value = initialValue();
	}
	
	public void set(T value) {
		this.value = value;
	}
	
	public T get() {
		return this.value;
	}
	
	public void remove() {
		this.value = null;
	}
	
	protected T initialValue() {
		return null;
	}

}
